package com.deceen.demo.entity;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.springframework.security.core.GrantedAuthority;
import org.springframework.security.core.userdetails.UserDetails;

import java.io.Serializable;
import java.util.Collection;
import java.util.Set;

/**
 * @author: zzx
 * @date: 2018/10/15 16:58
 * @description: 定义user对象
 */

@AllArgsConstructor
@NoArgsConstructor
@Getter
@Setter
public class UserEntityEo {
    private static final long serialVersionUID = 7171722954972237961L;

    private Long id;
    private String username;
    private String password;
    private Set<? extends GrantedAuthority> authorities;
}